package com.zhx.freedom.say.diary.service;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述: ${todo}
 *
 * @author 周浩西
 * @date 2019/3/2915:23
 */

@RestController
@Service
public class DiaryServiceImpl implements DiaryService{

    @Value("${server.port}")
    private String port;
    @Override
    public String getNameByCloud(String userName) {
        return userName + "springCloud" + port;
    }
}
